import { get, post } from "@/utils/request";
import config from "@/config/api/adminConfig"

export const getAdminGlApi = async () => {
  let ret = await get(config.getAdminGl)
  // console.log(ret);
  return ret.data
}

export const postAdminGlnameApi = async (uname) => {
  let ret = await post(config.getAdminGlName, { "name": uname })
  // console.log("postAdminGlnameApi",ret);
  return ret
}